/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2024-03-25
 * Time: 10:34
 */
public class Test {

    public static void main(String[] args) {
        int a = 10;
        Double b = 20D;

        System.out.println(a);
        System.out.println(b);

        System.out.println(Integer.BYTES);
        System.out.println(Double.BYTES);

        // 计算变量 a 和 b 在内存中的地址
        System.out.println(System.identityHashCode(a));
        System.out.println(System.identityHashCode(b));
    }
}
